Home:ALL Converter>"Cannot find hadoop installation : $HADOOP_HOME .. " getting this error while trying to run hive on spark.

"Cannot find hadoop installation : $HADOOP_HOME .. " getting this error while trying to run hive on spark.

Ask Time:2016-05-10T18:37:08         Author:Abhidemon

Json Formatter

I have followed this https://cwiki.apache.org/confluence/display/Hive/Hive+on+Spark%3A+Getting+Started#HiveonSpark:GettingStarted-Configurationpropertydetails

Have executed:

set spark.home=/location/to/sparkHome;

set hive.execution.engine=spark;

set spark.master= Spark-Master-URL

However, on running ./hive i am getting the above error:-

Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the path

I do not have Hadoop installed, and want to run hive on top of spark running on standalone. Is it mandatory that i need to have HADOOP set up to run hive over spark?

Author:Abhidemon,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/37136038/cannot-find-hadoop-installation-hadoop-home-getting-this-error-while-tr
yy